﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;
using System.Data;

namespace Reports.XtraReports
{
    public partial class XtraTheDocGia : DevExpress.XtraReports.UI.XtraReport
    {
        public XtraTheDocGia()
        {
            InitializeComponent();
        }

        public void Init_XtraTheDocGia(DataTable tbPrint, string _Madocgia, string _Hovaten, string _Ngaysinh, string _Nghenghiep
                                                        , string _Diachi, string _Ngayhieuluc, string _Ngayhethan, string _Ngayky)
        {
            this.DataSource = tbPrint;
            txt_MaDocGia.Text = _Madocgia;
            txt_HoVaTen.Text = _Hovaten;
            txt_NgaySinh.Text = _Ngaysinh;
            txt_NgheNghiep.Text = _Nghenghiep;
            txt_DiaChi.Text = _Diachi;
            txt_NgayHieuLuc.Text = _Ngayhieuluc;
            txt_NgayHetHan.Text = _Ngayhethan;
            txt_Ngayky.Text = _Ngayky;
        }
    }

}
